7. STORMS VISUALIZATION¶
import plotly.express as px
import plotly.io as pio
pio.renderers.default = 'notebook'
data = load_dac_hindcast().sel(time=slice('2018-02-18','2018-02-22'))\
.to_dataframe().reset_index()
data.time = data.time.astype(str)
px.scatter(
data,x='longitude',y='latitude',color='dac',animation_frame='time'
)
loading the DAC hindcast data...